<?php
$this->pageTitle=Yii::app()->name . ' - '.$pageDetail->title;
$this->breadcrumbs=array(
		$pageDetail->title,
);
?>
<?php if(count($childPages)>0):?>
<?php $this->beginWidget('system.web.widgets.CClipWidget', array('id'=>'menu-left'));?>
<ul>
<?php foreach ($childPages as $key => $item):
	$link = Yii::app()->controller->createUrlPage($item->id);
	$active = ($_SERVER['REQUEST_URI']==$link)?"class='active'":"";
?>
	<li <?php echo $active;?>><a href="<?php echo $link;?>"><?php echo $item->title;?></a></li>
<?php endforeach;?>
</ul>
<?php $this->endWidget();?>
<?php endif;?>
<div class="detail-page">
<?php if(!empty($pageDetail->thumb)):?>
<img style="width: 748px; border-radius: 5px 5px 0 0;" src="<?php echo Yii::app()->params['page_thumb_url']."/".$pageDetail->thumb?>" />
<?php endif;?>
<div class="text">
	<p class="content-title"><?php echo $pageDetail->title;?></p>

<div class="content-box"><?php echo $pageDetail->fulltext;?></div>
</div>
</div>